﻿<sdk:Page	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"	x:Class="SilverRaport.SqlPage" 
	Title="SqlPage Page"
	d:DesignWidth="640" d:DesignHeight="480">
    <sdk:Page.Resources>
        <Style x:Key="ButtonStyle1" TargetType="Button">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid>
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Normal"/>
                                    <VisualState x:Name="MouseOver">
                                        <Storyboard>
                                            <DoubleAnimation Duration="0" To="1.219" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="image" d:IsOptimized="True"/>
                                            <DoubleAnimation Duration="0" To="1.188" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="image" d:IsOptimized="True"/>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Pressed"/>
                                    <VisualState x:Name="Disabled"/>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Image x:Name="image" Source="save.png" Stretch="Fill" RenderTransformOrigin="0.5,0.5">
                                <Image.RenderTransform>
                                    <CompositeTransform/>
                                </Image.RenderTransform>
                            </Image>
                            <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ButtonStyle2" TargetType="Button">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid>
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Normal"/>
                                    <VisualState x:Name="MouseOver">
                                        <Storyboard>
                                            <DoubleAnimation Duration="0" To="1.375" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="image" d:IsOptimized="True"/>
                                            <DoubleAnimation Duration="0" To="1.281" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="image" d:IsOptimized="True"/>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Pressed"/>
                                    <VisualState x:Name="Disabled"/>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Image x:Name="image" Source="Icon-Document03-Blue.png" Stretch="Fill" RenderTransformOrigin="0.5,0.5">
                                <Image.RenderTransform>
                                    <CompositeTransform/>
                                </Image.RenderTransform>
                            </Image>
                            <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </sdk:Page.Resources>

    <Grid x:Name="LayoutRoot" Background="#FF10659C" >
        <Grid Margin="45,43,67,80" HorizontalAlignment="Center" VerticalAlignment="Center" Height="335">
            <ComboBox x:Name="cmbRaporTipi" Height="27" Margin="145,73,231,0" VerticalAlignment="Top">
        		<ListBoxItem Content="Tablo"/>
        		<ListBoxItem Content="Grafik"/>
        	</ComboBox>
            <TextBox x:Name="txtRaporSQL" Margin="145,111,0,50" TextWrapping="Wrap" Text="" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Visible" HorizontalAlignment="Left" Width="343" AcceptsReturn="True" TabIndex="2" />
            <TextBox x:Name="txtRaporName" Margin="145,39,96,0" TextWrapping="Wrap" VerticalAlignment="Top" TabIndex="1"/>
            <TextBox x:Name="txtRaporInterval" Margin="145,0,96,14" TextWrapping="Wrap" VerticalAlignment="Bottom" TabIndex="3"/>
            <TextBlock HorizontalAlignment="Left" Margin="85,37,0,0" TextWrapping="Wrap" Text="Rapor Adı" VerticalAlignment="Top" Foreground="White"/>
            <TextBlock HorizontalAlignment="Left" Margin="81,111,0,0" TextWrapping="Wrap" Text="Rapor SQL" VerticalAlignment="Top" Foreground="White"/>
            <TextBlock HorizontalAlignment="Left" Margin="6,0,0,18" TextWrapping="Wrap" Text="Çalışma Aralığı (Dakika)" VerticalAlignment="Bottom" Foreground="White"/>
            <Border BorderBrush="Black" BorderThickness="1"/>
            <TextBlock HorizontalAlignment="Left" Margin="8,4,0,0" TextWrapping="Wrap" Text="Rapor Hazırla" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" Foreground="#FF7A0000" FontFamily="Calibri"/>
            <TextBlock HorizontalAlignment="Left" Margin="85,78,0,0" TextWrapping="Wrap" Text="Rapor Tipi" VerticalAlignment="Top" Foreground="White"/>
            <ComboBox x:Name="cmbGrafikTipi" HorizontalAlignment="Right" Height="27" Margin="0,74,97,0" VerticalAlignment="Top" Width="123">
            	<ComboBoxItem Content="Pasta"/>
            	<ComboBoxItem Content="Kolon"/>
            	<ComboBoxItem Content="Bar"/>
            </ComboBox>
        </Grid>
        <Button  x:Name="btnKaydet" Content="" HorizontalAlignment="Right" Height="64" Margin="0,0,67,8" Style="{StaticResource ButtonStyle1}" VerticalAlignment="Bottom" Width="64" Cursor="Hand" ToolTipService.ToolTip="Kaydet"/>
        <Button x:Name="btnListe" Content="" HorizontalAlignment="Right" Height="64" Margin="0,0,145,8" Style="{StaticResource ButtonStyle2}" VerticalAlignment="Bottom" Width="64" d:LayoutOverrides="Width" ToolTipService.ToolTip="Listele"/>
        <TextBlock HorizontalAlignment="Left" Margin="71,0,0,0" TextWrapping="Wrap" Text="Adınız : " VerticalAlignment="Top" Foreground="White"/>
        <TextBlock HorizontalAlignment="Left" Margin="52,18,0,0" TextWrapping="Wrap" Text="Soyadınız : " VerticalAlignment="Top" Foreground="White"/>
        <TextBlock HorizontalAlignment="Left" Margin="4,34,0,0" TextWrapping="Wrap" Text="Kalan Rapor Limiti : " VerticalAlignment="Top" Foreground="White"/>
        <TextBlock x:Name="txtAdi" HorizontalAlignment="Left" Margin="121,0,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="Red"/>
        <TextBlock x:Name="txtSoyadi" HorizontalAlignment="Left" Margin="121,18,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="Red"/>
        <TextBlock x:Name="txtLimit" HorizontalAlignment="Left" Margin="121,34,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="Red"/>
    </Grid>
</sdk:Page>